package com.rd.student.jiaji.class1.jinhongyu.day0808;

public class Student {

    public int total;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private String name;

    public int getYuwen() {
        return yuwen;
    }

    public void setYuwen(int yuwen) {
        this.yuwen = yuwen;
    }

    private int yuwen;

    public int getShuxue() {
        return shuxue;
    }

    public void setShuxue(int shuxue) {
        this.shuxue = shuxue;
    }

    private int shuxue;

    public int totall(){
        return total = getYuwen()+getShuxue();
    }
}
